package cn.t.service.device;

import cn.t.core.service.ServiceImpl;
import cn.t.model.device.ApkDO;
import cn.t.repository.device.ApkRepository;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * 安卓apk管理表(Apk)领域服务
 *
 * @author t
 * @since 2024-05-24 10:19:10
 */
@Slf4j
@Service
@AllArgsConstructor
public class ApkService extends ServiceImpl<ApkDO, ApkRepository> {

    public ApkDO findByVersion(Integer version) {
        return repository.findByVersion(version);
    }
}
